package top.leyi.ServiceImpl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.leyi.IService.IAuthService;
import top.leyi.entity.user.User;
import top.leyi.mapper.AuthMapper;

@Service("Auth")
public class AuthServiceImpl implements IAuthService {

    @Autowired
    private AuthMapper authMapper;

    public void changeUserRole(User user){
         authMapper.updateUserRole(user);
    }

}
